Skip to main content
function | number
required
The function or stack level whose information is collected and returned.
string
Used to specify what information is returned in the table. Options include: “n” for name and namewhat, “s” for source and line details, “l” for currentline, and “f” for the function itself.
Alias: getinfo

Example